package com.ruoyi.gcgl.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目成员工时对象 sj_project_peopleline
 * 
 * @author ruoyi
 * @date 2025-08-07
 */
public class SjProjectPeopleline extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 成员ID */
    @Excel(name = "成员ID")
    private Long peopleId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String name;

    /** 时间类型 */
    @Excel(name = "时间类型")
    private String sjlx;

    /** 工时 */
    @Excel(name = "工时")
    private BigDecimal count;

    /** 审批人 */
    @Excel(name = "审批人")
    private String spr;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sprAt;

    /** 开始 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startAt;

    /** 结束 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endAt;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 描述 */
    @Excel(name = "描述")
    private String descs;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPeopleId(Long peopleId) 
    {
        this.peopleId = peopleId;
    }

    public Long getPeopleId() 
    {
        return peopleId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSjlx(String sjlx) 
    {
        this.sjlx = sjlx;
    }

    public String getSjlx() 
    {
        return sjlx;
    }
    public void setCount(BigDecimal count) 
    {
        this.count = count;
    }

    public BigDecimal getCount() 
    {
        return count;
    }
    public void setSpr(String spr) 
    {
        this.spr = spr;
    }

    public String getSpr() 
    {
        return spr;
    }
    public void setSprAt(Date sprAt) 
    {
        this.sprAt = sprAt;
    }

    public Date getSprAt() 
    {
        return sprAt;
    }
    public void setStartAt(Date startAt) 
    {
        this.startAt = startAt;
    }

    public Date getStartAt() 
    {
        return startAt;
    }
    public void setEndAt(Date endAt) 
    {
        this.endAt = endAt;
    }

    public Date getEndAt() 
    {
        return endAt;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDescs(String descs) 
    {
        this.descs = descs;
    }

    public String getDescs() 
    {
        return descs;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("peopleId", getPeopleId())
            .append("name", getName())
            .append("sjlx", getSjlx())
            .append("count", getCount())
            .append("spr", getSpr())
            .append("sprAt", getSprAt())
            .append("startAt", getStartAt())
            .append("endAt", getEndAt())
            .append("status", getStatus())
            .append("descs", getDescs())
            .append("deleteFlag", getDeleteFlag())
            .append("createUser", getCreateUser())
            .append("createAt", getCreateAt())
            .append("updateUser", getUpdateUser())
            .append("updateAt", getUpdateAt())
            .toString();
    }
}
